#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
void RightTriangle(int RC)
{
	int Space = 0;
	int Star = 0;
	for (Star = 1,Space = 2 * RC - 2;Space >= 0 && Star <= RC ; Star += 1,Space -= 2)
	{
		int space = Space;
		int star = Star;
		while (space--)
		{
			printf(" ");
		}
		while (star--)
		{
			printf("* ");
		}
		printf("\n");
	}
}
int main()
{
	int RC = 0;
	scanf("%d", &RC);
	RightTriangle(RC);
	return 0;
}